
<div class="content">

	<?=n_mod("passport")->search()?>
	<?php
	if(!empty($data['member'])){
	$member = n_api("member");
	foreach($data['member'] as $key=>$val){
		if(in_array($val['ppid'],$data['depute'])){
	?>
		<div class="n-box-float n-sep">
			<?=n_ui(n_url('rbac','siteRoleDeputeToggle',array('ppid'=>$val['ppid'],'rmid'=>$data['rmid'])),$member->getAval($val['ppid'],'uname'))?>			
		</div>
	<?php
		}else{
		?>
		<div class="n-box-float n-sep">
			<?=n_ui(n_url('rbac','siteRoleDeputeToggle',array('ppid'=>$val['ppid'],'rmid'=>$data['rmid'])),$member->getAval($val['ppid'],'uname'))?>			
		</div>		
		<?php
		}
	}
	}
	?>

</div>		
